Skip to content

fix(ci): switch to GitHub Actions Pages deployment#167

Merged
himanshu231204 merged 1 commit into
mainfrom
docs/mkdocs-site
Jul 20, 2026
Merged

fix(ci): switch to GitHub Actions Pages deployment#167
himanshu231204 merged 1 commit into
mainfrom
docs/mkdocs-site

Conversation

@himanshu231204

Copy link
Copy Markdown
Member

Summary

Fixes the GitHub Actions Pages deployment workflow.

Problem

The previous workflow used mkdocs gh-deploy which pushes to a gh-pages branch. GitHub Pages wasn't configured to serve from that branch, causing a 404.

Fix

Switches to the modern GitHub Actions Pages deployment:

  • Uses actions/upload-pages-artifact@v3 + actions/deploy-pages@v4
  • No gh-pages branch needed
  • Separates build and deploy jobs
  • Adds required pages: write and id-token: write permissions

After Merge

  1. Go to Settings → Pages → Source
  2. Select "GitHub Actions" (already done)
  3. The workflow auto-runs and deploys the site

Live at: https://openagenthq.github.io/modeldock/

- Switches to actions/deploy-pages for reliable deployment
- No gh-pages branch needed
- Adds required pages/id-token permissions
- Separates build and deploy jobs
@himanshu231204
himanshu231204 merged commit cb5bbdc into main Jul 20, 2026
29 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @himanshu231204!

Your pull request has been successfully merged into main. 🚀

Thank you for contributing to OpenAgentHQ and helping improve the project.

We truly appreciate your contribution and hope to see you back with more amazing PRs!

Happy Open Sourcing! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant